
#ifndef NODEPARAMDIALOG_H
#define NODEPARAMDIALOG_H

#include <QDialog>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QCheckBox>

class Node;

class NodeParamDialog : public QDialog
{
    Q_OBJECT

    QDialogButtonBox *buttonBox;
    QGroupBox *groupBox;
    QWidget *widget;
    QGridLayout *glay;

    QLineEdit *ledtID;
    QLineEdit *ledtUmod;
    QLineEdit *ledtUmax;
    QLineEdit *ledtName;
    QLineEdit *ledtQmin;
    QLineEdit *ledtGbus;
    QLineEdit *ledtUnom;
    QLineEdit *ledtQmax;
    QLineEdit *ledtBbus;
    QLineEdit *ledtPh;
    QLineEdit *ledtPU;
    QLineEdit *ledtQh;
    QLineEdit *ledtPgmin;
    QLineEdit *ledtCX;
    QLineEdit *ledtPgen;
    QLineEdit *ledtPhmin;
    QLineEdit *ledtCX2;
    QLineEdit *ledtQgen;
    QLineEdit *ledtUmin;
    QLineEdit *ledtDX;
    //QLineEdit *ledtChoosen;
    QCheckBox *cbChoosen;


    QLabel *lbl1;
    QLabel *lbl2;
    QLabel *lbl3;
    QLabel *lbl4;
    QLabel *lbl5;
    QLabel *lbl6;
    QLabel *lbl7;
    QLabel *lbl8;
    QLabel *lbl9;
    QLabel *lbl10;
    QLabel *lbl11;
    QLabel *lbl12;
    QLabel *lbl13;
    QLabel *lbl14;
    QLabel *lbl15;
    QLabel *lbl16;
    QLabel *lbl17;
    QLabel *lbl18;
    QLabel *lbl19;
    QLabel *lbl20;
    QLabel *lbl21;

    Node * node;
    
public:
    explicit NodeParamDialog( Node * n = 0, QWidget *parent = 0);
    int Exec();
    
private:
    void fillControls();

};

#endif // NODEPARAMDIALOG_H
